﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class MonAnDTO
    {
        private int _MaMonAn;

        public int MaMonAn
        {
            get { return _MaMonAn; }
            set { _MaMonAn = value; }
        }
        private string _TenMonAn;

        public string TenMonAn
        {
            get { return _TenMonAn; }
            set { _TenMonAn = value; }
        }
        private int _LoaiMon;

        public int LoaiMon
        {
            get { return _LoaiMon; }
            set { _LoaiMon = value; }
        }
        private string _DonGia;

        public string DonGia
        {
            get { return _DonGia; }
            set { _DonGia = value; }
        }

        public MonAnDTO()
        {
            _MaMonAn = 0;
            _TenMonAn = "";
            _LoaiMon = 0;
            _DonGia = "";
        }

        public MonAnDTO(int Ma, string Ten, int Loai, string Gia)
        {
            _MaMonAn = Ma;
            _TenMonAn = Ten;
            _LoaiMon = Loai;
            _DonGia = Gia;
        }
    }

}
